package com.jixiang.model.goods.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (GsCard)表实体类
 *
 * @author makejava
 * @since 2023-11-04 00:09:09
 */
@SuppressWarnings("serial")
@Data
public class GsCard extends Model<GsCard> {

    private Long id;

    private Long goodsId;

    private Long userId;

    private Long skusId;

    private Integer count;

    private String goodsName;

    private String pic;

    private Double price;

    private String specstext;

    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getSkusId() {
        return skusId;
    }

    public void setSkusId(Long skusId) {
        this.skusId = skusId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getSpecstext() {
        return specstext;
    }

    public void setSpecstext(String specstext) {
        this.specstext = specstext;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

